import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { ECopyInfoType } from "./ECopyInfoType";
type int = number;
//class SCopyMsgInfo
    
    export  class SCopyMsgInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SCopyMsgInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            this.type.__write(arg1);
            arg1.writeInt(this.num1);
            arg1.writeInt(this.num2);
            arg1.writeInt(this.num3);
            arg1.writeInt(this.num4);
            arg1.writeInt(this.num5);
            arg1.writeInt(this.num6);
            arg1.writeInt(this.num7);
            arg1.writeInt(this.num8);
            arg1.writeInt(this.num9);
            arg1.writeInt(this.num10);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.type = ECopyInfoType.__read(arg1);
            this.num1 = arg1.readInt();
            this.num2 = arg1.readInt();
            this.num3 = arg1.readInt();
            this.num4 = arg1.readInt();
            this.num5 = arg1.readInt();
            this.num6 = arg1.readInt();
            this.num7 = arg1.readInt();
            this.num8 = arg1.readInt();
            this.num9 = arg1.readInt();
            this.num10 = arg1.readInt();
            return;
        }

        public /* const */_type: int=20428;

        public /* var */type: ECopyInfoType;

        public /* var */num1: int;

        public /* var */num2: int;

        public /* var */num3: int;

        public /* var */num4: int;

        public /* var */num5: int;

        public /* var */num6: int;

        public /* var */num7: int;

        public /* var */num8: int;

        public /* var */num9: int;

        public /* var */num10: int;

        public static /* var */_regist: SCopyMsgInfo;
    }

            SCopyMsgInfo._regist = new SCopyMsgInfo(true);
        